package com.web.exiaodao.business.entity;

import com.web.webstart.base.entity.BaseEntity;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
* @ClassName: walletRechargeRecord 
* @Description: 钱包-充值记录定义表
* @author eason
* @date 2017-02-06 10:47:16
*
 */
@Entity
@Table(name = "tb_xa_walletrechargerecord")
@ApiModel(value="钱包-充值记录定义表")
public class WalletRechargeRecord extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="充值用户,充值用户")
	private Long userId;
	@ApiModelProperty(value="充值金额,充值金额")
	private Double rechargeMoney;
	@ApiModelProperty(value="充值订单号,充值订单号")
	private String rechargeOrderNo;
	@ApiModelProperty(value="充值方式,微信；支付宝；银联；同PayType")
	private Integer rechargeMethod;
	/**
	 * @see com.web.exiaodao.business.constant.JConstant.WalletRechargeStatus
	 */
	@ApiModelProperty(value="充值状态,0:待充值(未支付) 1：充值成功（支付成功）  2：充值关闭（后台自动关闭的充值订单）")
	private Integer rechargeStatus;

	@ApiModelProperty(value="交易流水号,交易流水号")
	private String queryId;
	@ApiModelProperty(value = "订单付款时间,订单付款时间")
	private String orderPayDateTime;

	
	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setRechargeMoney(Double rechargeMoney){
		this.rechargeMoney=rechargeMoney;
	}
	
	@Column(nullable=true,length=50)
	public Double getRechargeMoney(){
		return rechargeMoney;
	}
	public void setRechargeOrderNo(String rechargeOrderNo){
		this.rechargeOrderNo=rechargeOrderNo;
	}
	
	@Column(nullable=true,length=50)
	public String getRechargeOrderNo(){
		return rechargeOrderNo;
	}
	public void setRechargeMethod(Integer rechargeMethod){
		this.rechargeMethod=rechargeMethod;
	}
	
	@Column(nullable=true,length=50)
	public Integer getRechargeMethod(){
		return rechargeMethod;
	}
	public void setRechargeStatus(Integer rechargeStatus){
		this.rechargeStatus=rechargeStatus;
	}
	
	@Column(nullable=true,length=50)
	public Integer getRechargeStatus(){
		return rechargeStatus;
	}

	@Column(nullable=true,length=50)
	public String getQueryId() {
		return queryId;
	}

	public void setQueryId(String queryId) {
		this.queryId = queryId;
	}

	@Column(nullable=true,length=50)
	public String getOrderPayDateTime() {
		return orderPayDateTime;
	}

	public void setOrderPayDateTime(String orderPayDateTime) {
		this.orderPayDateTime = orderPayDateTime;
	}
}
